﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Web;

namespace _018_WCF_Rest_Service
{
    class Program
    {
        static void Main(string[] args)
        {
            WebServiceHost service = new WebServiceHost(typeof(CarRentalService));


            service.Open();

            Console.WriteLine("Service started");
            Console.ReadLine();

            service.Close();
        }
    }




}

